package com.mlz.mlzmall.ui.utils.util;

/**
 * describe :提取int值
 * Created by Benny on 2016/5/30.
 * PackageName com.mlz.mlzmall.ui.utils.util.
 * ProjectName mlzmall_android.
 */
public class IntNum {
    public static int getInt(int userSex) {
        String uSex = String.valueOf(userSex);
        int Sex = Integer.parseInt(uSex.substring(0, uSex.indexOf(".")));
        return Sex;
    }
}
